﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ArbolandiaBL
{
    [DataContract]
    public class ObSession
    {
        private int _idUser;
        private int _idProfile;
        private string _passwordCrypt;
        private string _userName;

        [DataMember]
        public int IdProfile
        {
            get { return _idProfile; }
            set { _idProfile = value; }
        }
        [DataMember]
        public int IdUser
        {
            get { return _idUser; }
            set { _idUser = value; }
        }
        [DataMember]
        public string PasswordCrypt
        {
            get { return _passwordCrypt; }
            set { _passwordCrypt = value; }
        }
        [DataMember]
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }
        [DataMember]
        public ProfileType ProfileType { get; set; }

    }
}
